package com.zee.wechat.module.wechatinfo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WechatInfo {
	@TableId(value = "id", type = IdType.AUTO)
	private long id;
	private String name;
	private String appId;
	private String appSecret;
	private String type;
	private String memo;
	@TableField(fill = FieldFill.INSERT)
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	private String account;
	private String password;
}
